<?php echo $this->load->view($configs->clayout.'/admin/cabecalho'); ?>
<?php echo $this->load->view($configs->clayout.'/menu'); ?>
<div id="colTwo">
	<h2>Adcionar Usuario</h2>
	
	<?php echo form_open('admin/usuariossave'); ?>
	<p>Login
		<?php echo $this->validation->login_error; ?>
		<?php echo form_input('login', $this->validation->login).br(); ?>
		<script type="text/javascript">
		document.forms[0].login.focus();
		</script>
	</p>
	<p>Senha
		<?php echo $this->validation->senha_error; ?>
		<?php echo form_password('senha', $this->validation->senha).br(); ?>
	</p>
	<p>Confirma
		<?php echo $this->validation->confirma_error; ?>
		<?php echo form_password('confirma', $this->validation->confirma).br(); ?>
	</p>
	<?php echo form_hidden('acao','salvar'); ?>
	<?php echo form_submit('salvar','Salvar'); ?>
	<input type="button" value="Voltar" onClick="javascript:history.go(-1)" >  
	<?php echo form_close(); ?>
	<?php //echo $this->validation->error_string; ?>
</div>
<?php //echo $this->load->view($configs->clayout.'/menudir'); ?>
<?php echo $this->load->view($configs->clayout.'/rodape'); ?>